package com.yuexun.beilunpatient.ui.consult.model;

import com.yuexun.beilunpatient.ui.bean.BaseListEntity;
import com.yuexun.beilunpatient.ui.consult.bean.NewsDetailBean;
import com.yuexun.beilunpatient.ui.consult.bean.NewsInfoBean;

import java.util.Map;

import rx.Observable;

/**
 * Created by chenss on 2018/7/30 0030.
 */

public interface IArticleModel {
    /**
     * 查询健康宣教的列表
     * @param praise
     * @return
     */
    Observable<BaseListEntity<NewsInfoBean>> inquireArticlePageList(Map<String, String> praise);

    /**
     * 首页查询新闻详情
     * @param praise
     * @return
     */
    Observable<BaseListEntity<NewsDetailBean>> inquireNewsDetailForIndex(Map<String, String> praise);
}
